Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(rofl/build): Set x86_64-unknown-linux-gnu target for Localnet build #285

Merged
merged 3 commits into from
Sep 20, 2024

Conversation

matevz
Copy link
Member

@matevz matevz commented Sep 12, 2024

On MacOS the default target must be set to x86_64 since this is the only platform we currently support.

Related oasisprotocol/sapphire-paratime#377

Copy link

netlify bot commented Sep 12, 2024

Deploy Preview for oasisprotocol-cli canceled.

Name Link
🔨 Latest commit 0a4993c
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-cli/deploys/66edd5bc37ddfc0008bb074e

@matevz matevz force-pushed the matevz/feature/rofl-build-debug-x86-flag branch from 8ff6982 to 21d81ca Compare September 12, 2024 08:53
@matevz matevz changed the title feat(rofl/build): Set x86_64-unknown-linux-gnu target for localnet builds feat(rofl/build): Set x86_64-unknown-linux-gnu target for Localnet build Sep 12, 2024
@matevz matevz requested a review from kostko September 12, 2024 12:05
cmd/rofl/build.go Outdated Show resolved Hide resolved
cmd/rofl/build.go Outdated Show resolved Hide resolved
The current behavior silently falls back to production builds when your
Localnet is not accessible. If --mode is auto, then it should fail, when
the connection cannot be established.
In order to be compatible with alpine linux builds we use in
our containers, the target needs to be built for musl instead
of gnu.
@matevz matevz force-pushed the matevz/feature/rofl-build-debug-x86-flag branch from c7dd62f to 0a4993c Compare September 20, 2024 20:06
@matevz matevz merged commit 0496cc4 into master Sep 20, 2024
4 checks passed
@matevz matevz deleted the matevz/feature/rofl-build-debug-x86-flag branch September 20, 2024 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants